package org.pf.constructor.staff
{
	import flash.display.Sprite;
	
	/**
	 * ...
	 * @author ...
	 */
	public class PFBodyGraphics
	{
		private var _sprite:Sprite;
		private var _inTweener:Boolean;
		
		private var _startWidth:Number;
		private var _startHeight:Number;
		
		private var _startScaleX:Number;
		private var _startScaleY:Number;
		
		private var _startRotation:Number;
		
		public function PFBodyGraphics()
		{
			_sprite = new Sprite();
			_inTweener = false;
		}
		
		public function setSprite(sprite:Sprite):void
		{
			_sprite = sprite;
			
			if (_sprite)
			{
				_startWidth = _sprite.width;
				_startHeight = _sprite.height;
				
				_startScaleX = _sprite.scaleX;
				_startScaleY = _sprite.scaleY;
				
				_startRotation = _sprite.rotation;
			}
		}
		
		public function get sprite():Sprite
		{
			return _sprite;
		}
		
		public function get inTweener():Boolean
		{
			return _inTweener;
		}
		
		public function set inTweener(value:Boolean):void
		{
			_inTweener = value;
		}
		
		public function get startWidth():Number
		{
			return _startWidth;
		}
		
		public function get startHeight():Number
		{
			return _startHeight;
		}
		
		public function get startScaleX():Number
		{
			return _startScaleX;
		}
		
		public function get startScaleY():Number
		{
			return _startScaleY;
		}
		
		public function get startRotation():Number 
		{
			return _startRotation;
		}
	
	}

}